import React from "react";
import {render} from "react-dom";
import {ipcRenderer} from "electron";
import {EventKeys} from "../common/EventKeys";
import Application from "./Application";
import {getApp} from "../common/utils";
// import zhCN from "antd/lib/locale/zh_CN"
// import zhCN from "antd/dist/an"
document.title = `${getApp().getName()}`;
ipcRenderer.send(EventKeys.tellMeTheTheme)
render(
    // <ConfigProvider locale={zhCN}>
    <Application/>
    // </ConfigProvider>
    , document.getElementById("root"))